import request from '@/utils/Request'
import { stringify } from 'qs';

export async function queryChartData(params) {
  return request(`/joker/blogAction/queryChartData?${stringify(params)}`, {
    method: 'GET',
  });
}

export async function queryUserChartData(params) {
  return request(`/joker/userAction/queryChartData?${stringify(params)}`, {
    method: 'GET',
  });
}
